package com.qumitech.visualnovel.model.dao.app;

import java.util.Date;

public class BookUpdateCfgDO {
    private Integer id;

    private Integer bookId;

    private String bookTitle;

    private Integer cfgType;

    private Date publishDate;

    private Integer orderIndex;

    private Integer status;

    private Date startEffectTime;

    private Date endEffectTime;

    private Boolean deleteFlag;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookTitle() {
        return bookTitle;
    }

    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle == null ? null : bookTitle.trim();
    }

    public Integer getCfgType() {
        return cfgType;
    }

    public void setCfgType(Integer cfgType) {
        this.cfgType = cfgType;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getStartEffectTime() {
        return startEffectTime;
    }

    public void setStartEffectTime(Date startEffectTime) {
        this.startEffectTime = startEffectTime;
    }

    public Date getEndEffectTime() {
        return endEffectTime;
    }

    public void setEndEffectTime(Date endEffectTime) {
        this.endEffectTime = endEffectTime;
    }

    public Boolean getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bookId=").append(bookId);
        sb.append(", bookTitle=").append(bookTitle);
        sb.append(", cfgType=").append(cfgType);
        sb.append(", publishDate=").append(publishDate);
        sb.append(", orderIndex=").append(orderIndex);
        sb.append(", status=").append(status);
        sb.append(", startEffectTime=").append(startEffectTime);
        sb.append(", endEffectTime=").append(endEffectTime);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}